package com.st.myservice;

public class tetst {
    public static void main(String[] args){
        String a= "sfsfdgssfsdfsdf#sdfsfsdfsdf";
        String substring = a.substring(0,a.indexOf("#"));
        System.out.println(substring);
    }
}
